package com.gable.exhibition.dao;

import com.gable.exhibition.model.File;
import com.gable.exhibition.view.FileView;

import java.util.List;

public interface FileDao {
    int deleteByPrimaryKey(Long fileId);

    int insertSelective(File record);

    File selectByPrimaryKey(Long fileId);

    int updateByPrimaryKeySelective(File record);

    int deleteByKeyTypeKeyId(File file);

    List<FileView> queryFiles(FileView fileView);
}